package mspbots.cw.business.core.slas;

import lombok.*;
import mspbots.cw.business.core.BaseTenantEntity;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * @author Dinnes Zhang
 * @date 2020-08-28
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Table("task_cw_slas")
public class Slas extends BaseTenantEntity {
    private long slasId;
    private String slasName;
    private String basedOn;
    private Integer planWithin;
    private boolean defaultFlag;
    private Integer respondHours;
    private Integer respondPercent;
    private Integer resolutionHours;
    private Long hiImpactHiUrgencyId;
    private String hiImpactHiUrgencyName;
    private Integer planWithinPercent;
    private Integer resolutionPercent;
    private Long hiImpactLowUrgencyId;
    private String hiImpactLowUrgencyName;
    private Long hiImpactMedUrgencyId;
    private String hiImpactMedUrgencyName;
    private Long lowImpactHiUrgencyId;
    private String lowImpactHiUrgencyName;
    private Long medImpactHiUrgencyId;
    private String medImpactHiUrgencyName;
    private Long lowImpactLowUrgencyId;
    private String lowImpactLowUrgencyName;
    private Long lowImpactMedUrgencyId;
    private String lowImpactMedUrgencyName;
    private Long medImpactLowUrgencyId;
    private String medImpactLowUrgencyName;
    private Long medImpactMedUrgencyId;
    private String medImpactMedUrgencyName;
    private LocalDateTime lastUpdated;
    private LocalDateTime syncTime;
}
